package com.maiji.cloud.entities.manager;

import com.baomidou.mybatisplus.annotations.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "role_menu")
public class RoleMenu implements Serializable {

    @TableId
    @Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId;

    @Column(name = "role_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String roleId;

    @Column(name = "menu_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String menuId;

}
